/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.shop.entity;

import com.thinkgem.jeesite.modules.sys.entity.User;
import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 收藏Entity
 * @author 罗
 * @version 2019-05-15
 */
public class Collections extends DataEntity<Collections> {
	
	private static final long serialVersionUID = 1L;
	private User user;		// 用户
	private Product product;		// 商品
	
	public Collections() {
		super();
	}

	public Collections(String id){
		super(id);
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	

	public Product getproduct() {
		return product;
	}

	public void setproduct(Product product) {this.product = product;}


}